package com.zbkj.dal.pojo.response.partner;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.zbkj.dal.entity.partner.PartnerRoleProfit;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
@ApiModel(value = "合伙人角色卡列表", description = "如果用户已经购卡 等级低的卡片购买按钮之后 应购卡显示【去续费】 等级高的卡片显示【去升级】")
public class PartnerRoleResponse {
    @ApiModelProperty(value = "合伙人角色Id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "合伙人角色名称")
    private String name;

    @ApiModelProperty(value = "开卡缴费金额")
    private BigDecimal paymentAmount;

    @ApiModelProperty(value = "原开卡缴费金额")
    private BigDecimal originalAmount;

    @ApiModelProperty(value = "是否删除")
    private Boolean isDel;

    @ApiModelProperty(value = "角色卡描述")
    private String remark;

    @ApiModelProperty(value = "背景图片")
    private String bgImage;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "父级账户收益")
    private BigDecimal parentReferrerAward;

    @ApiModelProperty(value = "顶级账户收益")
    private BigDecimal oneReferrerAward;

    @ApiModelProperty(value = "DEF 未开通；LOW 等于当前等级；NOW 目前开卡；OVER 超过目前等级")
    private String cardStatus;

    @ApiModelProperty(value = "权益列表")
    private List<PartnerRoleProfit> partnerRoleProfits;

    @ApiModelProperty(value = "按钮名称")
    private String buttonName;
}
